import type { TableColumn, FormField } from '@/components'

export const fields: FormField[] = [
  {
    key: 'organizationBaseName',
    label: '组织名称',
    tag: 'ElInput'
  },
  {
    key: 'examineYear',
    label: '年检年份',
    tag: 'el-date-picker',
    placeholder: '请选择年检年份',
    attrs: {
      type: 'year',
      valueFormat: 'YYYY'
    }
  },
  {
    key: 'organizationType',
    label: '组织类型',
    tag: 'MRadioButtonGroup',
    attrs: {
      options: [
        {
          label: '不限',
          value: ''
        },
        {
          label: '社团',
          value: '1'
        },{
          label: '民非',
          value: '2'
        }
      ]
    }
  }
]
export const modelValue = {
  examineYear: new Date().getFullYear()-1 + '',
  organizationBaseName: '',
  organizationType: '',
}